home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 June
/
EnigmA AMIGA RUN 08 (1996)(G.R. Edizioni)(IT)[!][issue 1996-06][EARSAN CD VII].iso
/
earcd
/
gui
/
gtldv374.lha
/
GadUtil
/
Docs
/
AutoDocs
/
35.GU_LayoutMenusA
< prev
next >
Wrap
Text File
|
1996-05-14
|
1KB
|
41 lines
gadutil.library/GU_LayoutMenusA gadutil.library/GU_LayoutMenusA
NAME
GU_LayoutMenusA -- Position all the menus and menu items.
SYNOPSIS
success = GU_LayoutMenusA(menu, vi, taglist)
D0 A0 A1 A2
BOOL GU_LayoutMenusA(struct Menu *, APTR, struct TagItem *);
FUNCTION
Lays out all the menus, menu items and sub-items in the supplied
menu according to the supplied visual information and tag parameters.
This routine attempts to columnize and/or shift the MenuItems in
the event that a menu would be too tall or too wide.
These GadTools routines are only here to make it simpler for someone
who wants to use them. This for example, is of no use if you use the
GadUtil function GU_CreateLocMenuA() to define localized (optional)
menus with automatic hotkey handlimg etc.
INPUTS
menu - Pointer to menu obtained from GU_CreateMenusA() or
GU_CreateLocMenuA().
vi - Pointer returned by GU_GetVisualInfoA.
taglist - Pointer to an array of tags providing optional extra
parameters.
TAGS
See gadtools/LayoutMenusA() for tags.
RESULT
success - TRUE if successfull, FALSE otherwise.
NOTES
See gadtools/LayoutMenusA() for more information.
SEE ALSO
GU_CreateMenusA(), GU_GetVisualInfoA(), gadtools/LayoutMenusA()